import mods.modularmachinery.RecipePrimer;
import mods.modularmachinery.RecipeBuilder;
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
import crafttweaker.liquid.ILiquidStack;
import crafttweaker.oredict.IOreDict;
import crafttweaker.oredict.IOreDictEntry;
import crafttweaker.data.IData;

// Runic Altar
RecipeBuilder.newBuilder("b_assemble_runicaltar","botania_assembler",50).
addItemInput(<botania:livingrock>*3).
addItemInput(<botania:manaresource:2>*1).
addItemInput(<botania:manaresource:23>*1).
addManaInput(500).
addManaPerTickInput(10).
addItemOutput(<botania:runealtar>*1).
build();

// Red Stringed Comparator
RecipeBuilder.newBuilder("b_assemble_rscomparator","botania_assembler",40).
addItemInput(<botania:livingrock>*4).
addItemInput(<botania:manaresource:12>*1).
addItemInput(<minecraft:comparator>*1).
addItemOutput(<botania:redstringcomparator>*1).
build();

// Red Stringed Dispenser
RecipeBuilder.newBuilder("b_assemble_rsdispenser","botania_assembler",40).
addItemInput(<botania:livingrock>*4).
addItemInput(<botania:manaresource:12>*1).
addItemInput(<minecraft:dispenser>*1).
addItemOutput(<botania:redstringdispenser>*1).
build();

// Red Stringed Spoofer
RecipeBuilder.newBuilder("b_assemble_rsspoofer","botania_assembler",40).
addItemInput(<botania:livingrock>*4).
addItemInput(<botania:manaresource:12>*1).
addItemInput(<botania:spreader>*1).
addItemOutput(<botania:redstringrelay>*1).
build();

// Red Stringed Interceptor
RecipeBuilder.newBuilder("b_assemble_rsinterceptor","botania_assembler",40).
addItemInput(<botania:livingrock>*4).
addItemInput(<botania:manaresource:12>*1).
addItemInput(<minecraft:stone_button>*1).
addItemOutput(<botania:redstringinterceptor>*1).
build();

// Red Stringed Container
RecipeBuilder.newBuilder("b_assemble_rscontainer","botania_assembler",40).
addItemInput(<botania:livingrock>*4).
addItemInput(<botania:manaresource:12>*1).
addItemInput(<minecraft:chest>*1).
addItemOutput(<botania:redstringcontainer>*1).
build();

// Red Stringed Nutrifier
RecipeBuilder.newBuilder("b_assemble_rsnutrifier","botania_assembler",40).
addItemInput(<botania:livingrock>*4).
addItemInput(<botania:manaresource:12>*1).
addItemInput(<botania:fertilizer>*1).
addItemOutput(<botania:redstringfertilizer>*1).
build();

// Mana Pylon
RecipeBuilder.newBuilder("b_assemble_manapylon","botania_assembler",100).
addItemInput(<botania:manaresource:1>*2).
addItemInput(<botania:manaresource:2>*2).
addItemInput(<minecraft:gold_ingot>*2).
addItemInput(<botania:manaresource:23>*1).
addManaInput(1000).
addManaPerTickInput(10).
addItemOutput(<botania:pylon>).
build();

// Natura Pylon
RecipeBuilder.newBuilder("b_assemble_naturapylon","botania_assembler",500).
addItemInput(<botania:manaresource:18>*3).
addItemInput(<botania:pylon>*1).
addItemInput(<minecraft:emerald>*2).
addItemInput(<botania:quartz:1>*2).
addManaInput(25000).
addManaPerTickInput(50).
addItemOutput(<botania:pylon:1>).
build();

// Gaia Pylon
RecipeBuilder.newBuilder("b_assemble_gaiapylon","botania_assembler",3000).
addItemInput(<botania:manaresource:7>*8).
addItemInput(<botania:manaresource:9>*2).
addItemInput(<botania:pylon>*1).
addItemInput(<botania:manaresource:8>*1).
addManaInput(300000).
addManaPerTickInput(100).
addItemOutput(<botania:pylon:2>*1).
build();

// Terrestrial Agglomeration Plate
RecipeBuilder.newBuilder("b_assemble_terraplate","botania_assembler",240).
addItemInput(<minecraft:lapis_block>*5).
addItemInput(<botania:manaresource:2>*2).
addItemInput(<botania:rune:8>*2).
addItemInput(<botania:rune:0>*5).
addItemInput(<botania:rune:1>*5).
addItemInput(<botania:rune:2>*5).
addItemInput(<botania:rune:3>*5).
addManaInput(24000).
addManaPerTickInput(100).
addItemOutput(<botania:terraplate>*1).
build();

// Hovering Hourglass
RecipeBuilder.newBuilder("b_assemble_hhourglass","botania_assembler",20).
addItemInput(<botania:managlass>*1).
addItemInput(<minecraft:redstone>*2).
addItemInput(<minecraft:gold_ingot>*2).
addItemInput(<botania:manaresource:23>*1).
addManaInput(200).
addManaPerTickInput(10).
addItemOutput(<botania:hourglass>*1).
build();

// Crafty Crate
RecipeBuilder.newBuilder("b_assemble_craftycrate","botania_assembler",40).
addItemInput(<minecraft:crafting_table>*1).
addItemInput(<botania:dreamwood:1>*4).
addItemInput(<botania:manaresource:8>*1).
addItemOutput(<botania:opencrate:1>*1).
build();

// Elven Gateway Core
RecipeBuilder.newBuilder("b_assemble_elvengatewaycore","botania_assmbler",20).
addItemInput(<botania:manaresource:18>*3).
addItemInput(<botania:livingwood>*1).
addManaInput(2000).
addManaPerTickInput(100).
addItemOutput(<botania:alfheimportal>*1).
build();

// Alchemy Catalyst
RecipeBuilder.newBuilder("b_assemble_alchemycatalyst","botania_assembler",1200).
addItemInput(<botania:livingrock>*1).
addItemInput(<minecraft:gold_ingot>*2).
addItemInput(<minecraft:brewing_stand>*2).
addItemInput(<botania:manaresource:23>*1).
addManaInput(24000).
addManaPerTickInput(20).
addItemOutput(<botania:alchemycatalyst>*1).
build();

// Conjuration Catalyst
RecipeBuilder.newBuilder("b_assemble_conjurationcatalyst","botania_assembler",1200).
addItemInput(<botania:alchemycatalyst>*1).
addItemInput(<minecraft:redstone>*8).
addItemInput(<botania:manaresource:7>*2).
addItemInput(<botania:manaresource:8>*1).
addManaInput(24000).
addManaPerTickInput(20).
addItemOutput(<botania:conjurationcatalyst>*1).
build();

// Elven Mana Spreader
RecipeBuilder.newBuilder("b_assemble_spreader2","botania_assembler",60).
addItemInput(<botania:spreader>*1).
addItemInput(<botania:manaresource:7>*2).
addItemInput(<botania:dreamwood>*2).
addItemInput(<botania:manaresource:8>*1).
addManaInput(3000).
addManaPerTickInput(50).
addItemOutput(<botania:spreader:2>*1).
build();

// Gaia Mana Spreader
RecipeBuilder.newBuilder("b_assemble_spreader3","botania_assembler",100).
addItemInput(<botania:spreader:2>*1).
addItemInput(<botania:manaresource:5>*1).
addItemInput(<botania:manaresource:9>*4).
addManaInput(10000).
addManaPerTickInput(100).
addItemOutput(<botania:spreader:3>*1).setChance(0.75).
build();

// Mana Detector
RecipeBuilder.newBuilder("b_assemble_manadetector","botania_assembler",20).
addItemInput(<botania:livingrock>*1).
addItemInput(<minecraft:redstone>*4).
addItemOutput(<botania:manadetector>*1).
build();

// Mana Void
RecipeBuilder.newBuilder("b_assemble_manavoid","botania_assembler",20).
addItemInput(<botania:livingrock>*1).
addItemInput(<minecraft:obsidian>*1).
addItemOutput(<botania:manavoid>*1).
build();

// Mana Fluxfield
RecipeBuilder.newBuilder("b_assemble_manafluxfield","botania_assembler",20).
addItemInput(<botania:livingrock>*1).
addItemInput(<minecraft:redstone_block>*1).
addItemInput(<mekanism:enrichedalloy>*6).
addEnergyPerTickInput(20).
addManaInput(400).
addManaPerTickInput(20).
addItemOutput(<botania:rfgenerator>*1).
build();

// Botanical Brewery
RecipeBuilder.newBuilder("b_assemble_botanicalbrewery","botania_assembler",600).
addItemInput(<minecraft:brewing_stand>*1).
addItemInput(<botania:livingrock>*6).
addItemInput(<botania:livingwood>*4).
addItemInput(<botania:manaresource:1>*1).
addItemInput(<botania:manaresource:23>*1).
addManaInput(3000).
addManaPerTickInput(50).
addItemOutput(<botania:brewery>*1).
build();
